﻿<UserControl x:Class="XSemmel.TreeView.XmlTree"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="50" d:DesignWidth="300">
    <UserControl.Resources>
        <Style TargetType="TreeViewItem">
            <Setter Property="IsExpanded" Value="False" />
        </Style>
    </UserControl.Resources>
    
    <DockPanel>
        <TextBlock x:Name="_lblUpdateInProgress" x:FieldModifier="private"
                   Visibility="Collapsed">
            Please wait... updating.
        </TextBlock>
        <TreeView x:Name="_tree" x:FieldModifier="private"
                  SelectedItemChanged="tree_SelectedItemChanged" 
                  PreviewMouseRightButtonDown="tree_PreviewMouseRightButtonDown">
            <!--<TreeViewItem>
                <TreeViewItem.Header>
                </TreeViewItem.Header>
            </TreeViewItem>-->
        </TreeView>
    </DockPanel>
</UserControl>
